from django.urls import include, path, re_path
from .views import books
from book import views

urlpatterns = [
    # 图书管理系统
    re_path('^$', views.books, name="books"),
    path('book_add/', views.book_add, name='book_add'),
    re_path('book_del/(\d+)/', views.book_del, name='book_del'),
    re_path('book_edit/(\d+)/', views.book_edit, name='book_edit'),
]
